package com.caishi.lkx.exam.vo;

import com.caishi.lkx.exam.ienum.type.ColumnType;
import com.caishi.lkx.exam.ienum.type.PaperType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.util.List;

@Getter
@Setter
@Schema(title = "考试日历数据")
public class IndexExamCalendarVo {

    @Getter
    @Setter
    public static class QCount {

        @Schema(title = "名称")
        private String name;

        @Schema(title = "试题数量")
        private int count;

        @Schema(title = "名称")
        private String desc;

        @Schema(title = "栏目类型")
        private ColumnType columnType;

        @Schema(title = "试卷类型")
        private PaperType paperType;

        @Schema(title = "单位")
        private String company;

        private Integer sort;
    }

    private String id;

    @Schema(title = "考试日期")
    private LocalDate examDate;

    @Schema(title = "科目id")
    private Long categoryId;

    @Schema(title = "考试id")
    private String examId;

    @Schema(title = "行业id")
    private String industryId;

    @Schema(title = "报名时间")
    private LocalDate registrationDate;

    @Schema(title = "成绩查询时间")
    private String checkScoreDate;

    @Schema(title = "科目id")
    private String categoryName;

    @Schema(title = "考试名称")
    private String examName;

    @Schema(title = "内容")
    private List<QCount> content;

}
